* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:focus {
  outline: none;
}
body {
  font-family: Arial, Helvetica, Calibri;
  line-height: 1.5;
  font-size: 16px;
  overflow-y: scroll;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
}
a:after {
  content: '';
  width: 0;
  height: 2px;
  margin-top: -2px;
  float: right;
  background: #fff;
  transition: width 0.3s ease;
}
a:hover:after {
  width: 100%;
}
div:not([contenteditable="true"]) {
  user-select: none;
}
#letter {
  min-width: 1024px;
}
#brand {
  height: 100vh;
  background: #047;
  color: #fff;
  margin: 0 -100vw;
  padding: 0 100vw;
  overflow: hidden;
  position: relative;
}
#signal {
  position: absolute;
  bottom: 0;
  text-align: center;
  font-size: 3em;
  width: 100%;
  display: none;
  cursor: pointer;
}
#signal i {
  text-shadow: 0 0 16px;
  animation: shake 0.6s ease infinite;
}
#frame {
  height: 100%;
  width: 100%;
  position: relative;
}
#frame:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100vmax + 1024px);
  width: 100vmax;
  background: #025;
  transform-origin: top right;
  transform: rotate(52deg);
}
.top,
.bottom {
  position: absolute;
  width: 100%;
  padding: 80px;
}
.top {
  top: 0;
  left: 0;
}
.bottom {
  bottom: 0;
  right: 0;
}
.bottom i {
  margin-left: 16px;
}
.table {
  display: table;
}
.table-cell {
  display: table-cell;
  vertical-align: middle;
}
#avatar {
  width: calc(50vmin - 80px);
}
#avatar img {
  display: block;
  height: calc(50vmin - 80px);
  float: left;
  border-radius: 50%;
}
#name,
#date,
#position {
  margin-left: 32px;
  line-height: 1;
}
#name {
  font-size: 3em;
  margin-bottom: 32px;
}
#date {
  font-size: 1.5em;
  margin-bottom: 32px;
}
#position {
  margin-bottom: 32px;
  display: inline-block;
  min-width: 50vmin;
  position: relative;
  vertical-align: middle;
  overflow: hidden;
  background-color: #fff;
  text-shadow: none;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
  z-index: 2;
}
#position:hover {
  box-shadow: inset 0 0 8px #025;
}
#position:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-top-color: #025;
  top: 20px;
  right: 12px;
  z-index: -2;
}
#position select {
  font-size: 1.25em;
  padding: 12px;
  padding-right: 40px;
  width: 100%;
  border: none;
  background: transparent;
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  line-height: 1;
}
#position select option {
  cursor: pointer;
}
#position select:focus {
  outline: none;
}
#email,
#phone,
#address,
#www,
#linkedin,
#github {
  text-align: right;
  line-height: 2;
  font-size: 1.25em;
}
#body {
  display: none;
  animation: appear 0.6s ease;
  padding: 80px;
  min-height: 100vh;
  max-width: 1024px;
  margin: 0 auto;
}
@-moz-keyframes shake {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(0);
  }
}
@-webkit-keyframes shake {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(0);
  }
}
@-o-keyframes shake {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes shake {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(0);
  }
}
@-moz-keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
